project(dmis-tutorials)
cmake_minimum_required( VERSION 2.8 )

set( CMAKE_BUILD_TYPE Debug )
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/../../bin )

include_directories( ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}
                      ${CMAKE_SOURCE_DIR}/../../utilityComponents/src
                    )
link_directories( ${CMAKE_SOURCE_DIR}/../../bin/ )

#platform-dependent stuff
if( UNIX )
  add_definitions( -Wall -Wno-unused-function -Wno-write-strings )
  set( dmis -ldmis )
else()
  set( dmis dmis.lib )
endif()

add_executable( generate generate.cc )
target_link_libraries( generate ${dmis} )

add_executable( analyze analyze.cc )
target_link_libraries( analyze ${dmis} )

add_executable( makeBound makeBound.cc )
target_link_libraries( makeBound ${dmis} )
